<template>
    <div id="Invite">
        <c-top/>
        <c-signed v-if="signed" />
        <c-will-sign v-else />
        <c-rules/>
    </div>
</template>

<script>
import Ctop from './top/a'
import Cwillsign from './willsign/a'
import Csigned from './signed/a'
import Crules from './bottom/a'

export default {
	name: 'Invite',
	data() {
		return {}
	},
	computed: {
		signed() {
			return this.$store.state.user.signed
		},
	},
	components: {
		'c-top': Ctop,
		'c-signed': Csigned,
		'c-will-sign': Cwillsign,
		'c-rules': Crules,
	},
	mounted() {
		// 推广记录接口
	},
}
</script>
<style scoped>
#Invite {
	overflow: hidden;
	background-color: #272b40;
}
</style>




